package com.dsz.duty.dao;

import java.util.List;

import com.dsz.duty.model.DutyRecord;

/**
 * 值班记录。
 * 
 * @author crjun
 */
public interface IDutyRecordDao {
	List<DutyRecord> getPageDutyRecords(String filter, int page, int rows);

	void addDutyRecord(DutyRecord dutyRecord);

	void removeDutyRecord(int id);

	void updateDutyRecord(DutyRecord dutyRecord);

	int getDutyRecordsCount(String filter);
}
